
  <ul id="nav">
	<li><a href="">首页</a></li>
	
	<?php
       while($row= mysqli_fetch_assoc($result)){
       ?>	
            <li><a href="list.php?cata_id=<?php  echo $row['id'] ?>"><?php  echo $row['name'] ?></a></li>


         <?php
          }
 	     ?>	
   </ul>
